Map Properties

Under Construction

This section is incomplete.

 

We're working on filling in the missing information as quickly as possible. If there's something you'd like to see here, use the "Report an Issue with this Page" link at the bottom of this page to let us know.

Name
Description
Map width

Sets the width of a google map inside of a UX component.

Map height

Sets the height of a Google map in a UX component.

Map is draggable

Checking the Map is draggable property allows a user to drag the map around in the frame.

Fill container

This applies only when a control is inside a 'Panel Card' or a 'Container' with a sub-type of 'None' or 'Window'. When the Fill container property is checked the control will expand to the size of the container.

Google Maps API key

Specifies you Google Maps API Key. You need to go to the Google Maps site to request you API key. The key you define here will override the project global API key that you can define in the Web Project Properties dialog.

Use Google Map Premier.xml

Specify if you have a Google Map Premier id.

Use SSL

Check this if you want to call Google Maps using SSL(HTTPS:)

Map language

By default the Google map sets the language based on the browser's preferred language. You can override this setting by specifying a 2 character language code, for example "ja" for Japanese.

Center map on location

Centers the map on a given location when the map is initialized. If you check this property you will also need to define the location using sub-properties that appear once checked.

Initial zoom

Specifies the initial zoom level for the map (0-20). Setting Initial zoom to 0 will show the whole world while setting it to 20 will show just a few yards.

Map type

The map type property specifies what type of map is shown. The dropdown list next to this property contains four options: Roadmap, Hybrid, Satellite, and Terrain.

Map scale ruler

Specify if a ruler should be shown on the map showing the scale of the map.

Street view control

Specify if the map should show the 'Street View' control. This is the icon of a small figure that you can drag onto the map to show the street view.

Zoom control

Specify if a control should be shown on the map to allow the user to change the zoom level.

Map type control

This control specifies if a select should be shown to allow the user to change the map type.

Zoom map on double click

When "Zoom map on double click" is checked, if the user double clicks on the map the map will zoom in.

Route is draggable

This property allows users to drag markers on a map to alter a route

Avoid highways when plotting route

When computing a route highways will be avoided.

Avoid tolls when plotting route

When computing a route tolls will be avoided.

Travel mode for route

When computing a route, what travel mode should be used. This property can be reset before the map objects plotRoute() method is called.

Units for route

When computing a route, what units should be used. This property can be reset before the map objects plotRoute() method is called. Options for units for route include Default, Imperial, and Metric.

Optimize route waypoints

When computing a route, should the order of the waypoints be optimized to create the shortest route.

Route directions - DIV id

Specify the id of a div where the route directions should be shown. Tip: Place a static text object on the component and add a div with the specified id to the static text object.